<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<div>
&lt;?php<br />
<div>
//suggest file name: <{$className}>.php
</div>
<br />
  if(!defined('____<{$className}>_php____')){<br />
<br />
  define('____<{$className}>_php____',true);<br />
<br />



<br />
//<{$info}><br />
<br />
<{foreach from=$tables item=att name=foo}>
  <br />
<br />
if(!defined('<{$att->definedTableName}>')){<br />
<br />
define('<{$att->definedTableName}>', '<{$att->tableName}>');<br />
<br />
  
<br />
<br />
<br />}<br />
  <{/foreach}>
  

<div>
class <{$className}>{<br />
<br />


<{foreach from=$attributes item=att name=foo}>
public $<{$att->attribute}>;
<br />
<{/foreach}>
<br />
<br />
<div>
 function __construct() {<br />
<br />

  <br />
<br />
<br />}<br />
 </div>
 
 <br />
<br />
  
  <div>
 function __destruct() {<br />
  
<br />
<br />}<br />
 </div>

  <br />
<br />

 private function escape_string($sqlS123){<br />
return mysql_real_escape_string($sqlS123);<br />
<br />
<br />}<br />
<br />
  <br />

&nbsp;
&nbsp;
///////////////////////////////////////////////// end class /////////////////////////////
<br />
<br />} 
</div>
<br />
<br />}<br />
?&gt;
</div>
<br />
<br /></body>
</html>
